package cn.stylefeng.guns.modular.api.model.params;

import lombok.Data;
import cn.stylefeng.roses.kernel.model.validator.BaseValidatingParam;
import java.util.Date;
import java.io.Serializable;
import io.swagger.annotations.ApiModelProperty;
import java.math.BigDecimal;

/**
 * <p>
 * 产品
 * </p>
 *
 * @author wusonghe
 * @since 2019-08-31
 */
@Data
public class ProductParam implements Serializable, BaseValidatingParam {

    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "产品ID")
    private Integer productId;

    @ApiModelProperty(value = "产品编码")
    private String productCode;

    @ApiModelProperty(value = "产品标题")
    private String title;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "物料数组")
    private String materiels;

    @ApiModelProperty(value = "养殖场ID")
    private Integer farmId;

    @ApiModelProperty(value = "养殖池")
    private Integer poodId;

    @ApiModelProperty(value = "数量")
    private Integer number;

    @ApiModelProperty(value = "去处")
    private Integer target;

    @ApiModelProperty(value = "价格")
    private Double price;

    @ApiModelProperty(value = "重量")
    private Double weight;

    @ApiModelProperty(value = "生产日期")
    private Date productTime;

    @ApiModelProperty(value = "创建日期")
    private Date createTime;

    @ApiModelProperty(value = "更新日期")
    private Date updateTime;

    @ApiModelProperty(value = "单位")
    private String unit;

    @Override
    public String checkParam() {
        return null;
    }

}
